﻿// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_INV_RETURN_IMPORT_ORDER
// * CreateDate    : 2013/1/16 21:29:41
// * Creater       : InvReturnImportOrderTable
// * LastChangeDate: 2013/1/16 21:29:41
// * LastChanger   : 2013/1/16 21:29:41
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class InvReturnImportOrderTable : TableInfo
    {
        public const string C_TableName = "INV_RETURN_IMPORT_ORDER";

        public const string C_ID = "ID";
        public const string C_RETURN_ORDER_ID = "RETURN_ORDER_ID";
        public const string C_ORDER_CODE = "ORDER_CODE";
        public const string C_CREATED = "CREATED";
        public const string C_CREATED_BY = "CREATED_BY";
        public const string C_MODIFIED = "MODIFIED";
        public const string C_MODIFIED_BY = "MODIFIED_BY";
        public const string C_APPROVED = "APPROVED";
        public const string C_APPROVED_BY = "APPROVED_BY";
        public const string C_STATUS = "STATUS";
        public const string C_REMARK = "REMARK";

        public InvReturnImportOrderTable()
        {
            _tableName = "INV_RETURN_IMPORT_ORDER";
        }

        protected static InvReturnImportOrderTable _current;
        public static InvReturnImportOrderTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new InvReturnImportOrderTable();

            _current.Add(C_ID, new ColumnInfo(C_ID, "Id", true, typeof(string)));
            _current.Add(C_RETURN_ORDER_ID, new ColumnInfo(C_RETURN_ORDER_ID, "ReturnOrderId", false, typeof(string)));
            _current.Add(C_ORDER_CODE, new ColumnInfo(C_ORDER_CODE, "OrderCode", false, typeof(string)));
            _current.Add(C_CREATED, new ColumnInfo(C_CREATED, "Created", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY, "CreatedBy", false, typeof(string)));
            _current.Add(C_MODIFIED, new ColumnInfo(C_MODIFIED, "Modified", false, typeof(DateTime)));
            _current.Add(C_MODIFIED_BY, new ColumnInfo(C_MODIFIED_BY, "ModifiedBy", false, typeof(string)));
            _current.Add(C_APPROVED, new ColumnInfo(C_APPROVED, "Approved", false, typeof(DateTime)));
            _current.Add(C_APPROVED_BY, new ColumnInfo(C_APPROVED_BY, "ApprovedBy", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS, "Status", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK, "Remark", false, typeof(string)));

        }

        public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }

        public ColumnInfo RETURN_ORDER_ID
        {
            get { return this[C_RETURN_ORDER_ID]; }
        }

        public ColumnInfo ORDER_CODE
        {
            get { return this[C_ORDER_CODE]; }
        }

        public ColumnInfo CREATED
        {
            get { return this[C_CREATED]; }
        }

        public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }

        public ColumnInfo MODIFIED
        {
            get { return this[C_MODIFIED]; }
        }

        public ColumnInfo MODIFIED_BY
        {
            get { return this[C_MODIFIED_BY]; }
        }

        public ColumnInfo APPROVED
        {
            get { return this[C_APPROVED]; }
        }

        public ColumnInfo APPROVED_BY
        {
            get { return this[C_APPROVED_BY]; }
        }

        public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }

        public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }



    }
}

